package com.navi.heartbeat.entity;

import org.apache.commons.dbutils.QueryRunner;

/**
 * DbTestInfo
 * 用户测试连接数据库连接是否正常
 *
 * @author Matthew
 * @date 2018-07-04
 */
public class DbTestInfo {

  private String sql;
  private QueryRunner queryRunner;
  private String sysName;

  public String getSql() {
    return sql;
  }

  public void setSql(String sql) {
    this.sql = sql;
  }

  public QueryRunner getQueryRunner() {
    return queryRunner;
  }

  public void setQueryRunner(QueryRunner queryRunner) {
    this.queryRunner = queryRunner;
  }

  public String getSysName() {
    return sysName;
  }

  public void setSysName(String sysName) {
    this.sysName = sysName;
  }

  public DbTestInfo(String sql, QueryRunner queryRunner, String sysName) {
    this.sql = sql;
    this.queryRunner = queryRunner;
    this.sysName = sysName;
  }
}
